home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Palettes / MiscPaperViewPalette / MiscPaperView.subproj / MiscColorView.h < prev    next >
Text File  |  1995-06-07  |  878b  |  34 lines

  1. //        Written by Thomas Engel Copyright (c) 1995 by Thomas Engel.
  2. //                Version 1.0.  All rights reserved.
  3. //
  4. //        This notice may not be removed from this source code.
  5. //
  6. //    This object is included in the MiscKit by permission from the author
  7. //    and its use is governed by the MiscKit license, found in the file
  8. //    "LICENSE.rtf" in the MiscKit distribution.  Please refer to that file
  9. //    for a list of all applicable permissions and restrictions.
  10. //    
  11.  
  12. #import <appkit/appkit.h>
  13.  
  14. @interface MiscColorView:View 
  15. {
  16.     NXColor    backgroundColor;
  17.     BOOL        sameColorAsDesktop;
  18. }
  19.  
  20. + initialize;
  21. - initFrame:(const NXRect *)frameRect;
  22.  
  23. - setBackgroundColor:(NXColor)color;
  24. - (NXColor)backgroundColor;
  25. - setUseSameColorAsDesktop:(BOOL)flag;
  26. - (BOOL)hasSameColorAsDesktop;
  27.  
  28. - drawSelf:(const NXRect *)rects :(int)rectCount;
  29.  
  30. - read:(NXTypedStream *)stream;
  31. - write:(NXTypedStream *)stream;
  32.  
  33. @end
  34.